#include<stdio.h>
#include<math.h>

int main()
{
    float a, b, c;
    scanf("%f %f %f", &a, &b, &c);
    
    if(a == 0 && b == 0 && c == 0)
    {
        printf("Zero Equation\n");
        return 0;
    }
    if(a == 0 && b == 0 && c != 0)
    {
        printf("Not An Equation\n");
        return 0;
    }
    if(a == 0 && b != 0 && c != 0)
    {
        printf("%.2f\n", -c/b);
        return 0;
    }
    
    double derta = b*b - 4*a*c;
    float x1, x2, ima, real;
    if(derta > 0) // double root
    {
        x1 = (-b + sqrt(derta)) / (2*a);
        x2 = (-b - sqrt(derta)) / (2*a);
        if(x1 > x2)
        {
            printf("%.2f\n%.2f\n", x1, x2);
        }
        else
        {
            printf("%.2f\n%.2f\n", x2, x1);
        }
    }
    else if(derta == 0) // single root 
    {
        x1 = -b / (2*a);
        printf("%.2f\n", x1);
    }
    else // none root -> i
    {
    	real = -b/(2*a);
	   	ima = sqrt(fabs(derta)) / (2*a);
    	if(b != 0)
    	{   
            printf("%.2f+%.2fi\n", real, ima);
            printf("%.2f-%.2fi\n", real, ima);
    	}
    	else
    	{
			printf("0.00+%.2fi\n", ima);
			printf("0.00-%.2fi\n", ima);
    	}
        
    }
}
